package com.markyao.controller.recos;

import com.markyao.recos.fail.RecosFailService;
import com.markyao.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController("/recos/fail")
public class RecosFailController {

    @Autowired
    RecosFailService recosFailService;

    @GetMapping("adviceFail")
    public Result adviceFail(@RequestParam("url") String url) {
        return null;
    }

    @GetMapping("getFailMap")
    public Result getFailMap() {
        // TODO: 2023/8/29
        return null;
    }

    @GetMapping("containFails")
    public Result containFails(@RequestParam("appName") String appName) {
        // TODO: 2023/8/29
        return null;
    }

    @GetMapping("adviceError")
    public Result adviceError(@RequestParam("url")String url,@RequestParam("interfaceName") String interfaceName) {
        return null;
    }

    @GetMapping("isError")
    public Result isError(@RequestParam("url") String url) {
        return null;
    }
}
